#ifndef RESPONSEHANDLERTHREAD_H
#define RESPONSEHANDLERTHREAD_H

#include <qthread.h>
#include <string>

class ResponseHandlerThread : public QThread
{
    Q_OBJECT

public:

    ResponseHandlerThread();

    ~ResponseHandlerThread();

    void run();

    void setValue(const std::string request_id,
                const std::string name,
                const std::string content_type,
                unsigned long long content_length,
                const void *data);

    unsigned int getRequestID()const
    {
        return m_requestID;
    }

private:

    unsigned int m_requestID;

    std::string m_name;

    std::string m_contentType;

    unsigned long long m_contentLength;

    void * m_data;
};

#endif
